package top.italks.demo.service.impl;

import top.italks.demo.entity.WXOrderEntity;
import top.italks.demo.mapper.WXOrderMapper;
import top.italks.demo.service.WXOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 接口实现
 *
 * @Author: 陈忠波
 * @Date: 2019/09/10 04:13
 */
@Service
public class WXOrderServiceImpl implements WXOrderService {

    @Resource
    private WXOrderMapper wXOrderMapper;

    @Override
    public Integer add(WXOrderEntity wXOrderEntity) {
        return wXOrderMapper.add(wXOrderEntity);
    }

    @Override
    public Integer modifyByOutTradeNo(WXOrderEntity wXOrderEntity) {
        return wXOrderMapper.modifyByOutTradeNo(wXOrderEntity);
    }

}
